package com.thb.pay;

import com.thb.pay.feigin.abs.AbstractApplication;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author: lucky
 * @Descrpiton:  springCloud 支付基础服务
 * @Date: 17:40 2018/7/5
 * @Modify by:
 */
@Slf4j
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan(value = {"com.thb.pay.*.mapper"})
public class PayServiceApplication extends AbstractApplication {

    public static void main(String[] args) {
        SpringApplication.run(PayServiceApplication.class, args);
        log.info("PayServiceApplication application start.");
    }
}
